//底部菊花
myApp.showBottomIndicator = function () {
    $$('body').append('<div class="preloader-indicator-overlay"></div><div class="preloader-indicator-modal-bottom indicator-hidden"><span class="preloader preloader-white">' + (myApp.params.material ? myApp.params.materialPreloaderHtml : '') + '</span></div>');
    setTimeout(function(){
        $$('.preloader-indicator-modal-bottom').removeClass('indicator-hidden');
    },10);

};
myApp.hideBottomIndicator = function () {
    $$('.preloader-indicator-modal-bottom').addClass('indicator-hidden');
    $$('.preloader-indicator-modal-bottom').transitionEnd(function(){
        $$('.preloader-indicator-overlay, .preloader-indicator-modal-bottom').remove();
    })
};

//自定义指示牌
myApp.showSignboard = function (template) {
    return myApp.modal({
        text: template,
        cssClass: 'modal-signboard'
    });
};

myApp.hideSignboard = function () {
    myApp.closeModal('.modal.modal-in.modal-signboard');
}
